| 
 | 
 | 
 | 
| SftTreeColumn.SelectForeColor Property | 
Defines the text color of selected items in this column.
Syntax
| VB.NET | |||
| VB | Clr = object.SelectForeColor As OLE_COLOR | ||
| C#.NET | |||
| VC++ | OLE_COLOR Clr = object->SelectForeColor; | ||
| C | HRESULT object->get_SelectForeColor(OLE_COLOR* Clr); | ||
| Delphi | Clr := object.SelectForeColor : Cardinal; | ||
| VB.NET | |||
| VB | object.SelectForeColor = Clr As OLE_COLOR | ||
| C#.NET | |||
| VC++ | OLE_COLOR object->SelectForeColor
      = Clr; | ||
| C | HRESULT object->put_SelectForeColor(OLE_COLOR Clr); | ||
| Delphi | object.SelectForeColor := Clr : Cardinal; | ||
object
A SftTreeColumn object.
Clr
Defines the text color of selected items in this column.
Comments
The SelectForeColor property defines the text color of selected items in this column. -1 indicates that there is no defined color and the default colors are used. For information about color properties, please visit the applicable section "Using SftTree/OCX with ...".
Cells can override the foreground color using the Cell.SelectForeColor property. If a selected item uses a selection style (Items.SelectStyle property) that uses the Column.SelectForeColor property for only portions of the item, the Column.ForeColor property is used for the remainder of the item.
See Also SftTreeColumn Object | Object Hierarchy